VSFW\Utils\Validator D

Total Complexity 139
Dependencies 0
Dependents 2
Total lines 974
Lines of code 657
Logical lines of code 288
Comment lines 216
Methods 37
Properties 5

Methods 37

Method Rating Maintainability Complexity Lines of code
passes()
B
43 18 49
validate_unique()
A
49 8 30
validate_between()
A
48 7 37
validate_required()
S
52 6 27
validate_required_if()
S
53 6 23
validate_before()
S
54 6 21
validate_after()
S
54 6 21
validate_min()
S
50 5 33
validate_max()
S
50 5 33
validate_exists()
S
52 5 25
validate_mimes()
S
55 5 20
validate_rule()
S
56 5 18
validate_same()
S
55 4 21
validate_different()
S
55 4 21
validate_json()
S
53 3 26
validate_confirmed()
S
58 3 16
first()
S
65 4 9
validate_integer()
S
60 3 14
validate_regex()
S
60 3 14
add_error()
S
64 3 10
validate_in()
S
59 2 15
validate_not_in()
S
59 2 15
validate_boolean()
S
59 2 15
validate_string()
S
61 2 14
validate_numeric()
S
61 2 14
validate_email()
S
60 2 14
validate_url()
S
60 2 14
validate_alpha()
S
61 2 14
validate_alpha_num()
S
61 2 14
validate_alpha_dash()
S
60 2 14
validate_date()
S
61 2 14
validate_array()
S
61 2 14
get_attribute_name()
S
77 2 3
__construct()
S
71 1 6
make()
S
78 1 3
fails()
S
80 1 3
errors()
S
82 1 3